package com.toe.pojo.dto.commodity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CommodityClassesTypeDTO对象", description="")
public class CommodityClassesTypeDTO implements Serializable {

    @ApiModelProperty(value = " 课程类型id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "课程类型名称")
    private String typeName;

    @ApiModelProperty(value = "是否启用，1=启用，0=未启用")
    private Integer isEnable;
}
